package com.dd.shop4j.member.model;

import java.util.Date;


/**
 * member_info - 会员信息
 * 
 * @author 唐小恕 2013-08-29
 * @version 1.0 
 */
public class MemberInfo {
	/**
	 * int(0)
	 * 会员id
	 * 主键字段
	 * 字段不允许为空
	 */
	private Integer id;
	/**
	 * varchar(32)
	 * 会员账号
	 */
	private String username;
	/**
	 * varchar(32)
	 * 会员密码
	 */
	private String password;
	/**
	 * datetime(0)
	 * 创建时间
	 */
	private Date addTime;
	/**
	 * datetime(0)
	 * 最后登录时间
	 */
	private Date loginTime;
	/**
	 * varchar(20)
	 * 最后登录ip
	 */
	private String loginIp;
	/**
	 * char(1)
	 * 状态
	 */
	private String status;
	/**
	 * varchar(50)
	 * 注册邮箱
	 */
	private String mail;
	/**
	 * varchar(20)
	 * 联系电话
	 */
	private String telphone;
	/**
	 * int(0)
	 * 积分
	 */
	private Integer source;
	/**
	 * double(0)
	 * 余额
	 */
	private Double balance;
	/**
	 * int(0)
	 * 会员等级id
	 */
	private Integer levelId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Integer getLevelId() {
		return levelId;
	}

	public void setLevelId(Integer levelId) {
		this.levelId = levelId;
	}

}